import request from '@/utils/request'

// 查询地区
export function getPlanInfoPageList(data) {
    return request({
      url: '/consult/plan/getPlanInfoPageList',
      method: 'post',
      data
    })
}

//添加计划
export function addOrupdatePlanInfo(data) {
    return request({
      url: '/consult/plan/addOrupdatePlanInfo',
      method: 'post',
      data
    })
}

//根据指定pid查询上级
export function getParentPlanList(data) {
    return request({
      url: '/consult/plan/getParentPlanList',
      method: 'post',
      data
    })
}

//删除
export function deletePlanInfo(data) {
    return request({
      url: '/consult/plan/deletePlanInfo',
      method: 'post',
      data
    })
}

//查询参与计划的人
export function getPersonListByPlanId(data) {
    return request({
      url: '/consult/plan/getPersonListByPlanId',
      method: 'post',
      data
    })
}
